﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoyoEden.Providers
{
    public partial class DbPortalProvider
    {
        /// <summary>
        /// Storage location on web server
        /// </summary>
        /// <returns>string with virtual path to storage</returns>
        public override string StorageLocation()
        {
            if (String.IsNullOrEmpty(System.Web.Configuration.WebConfigurationManager.AppSettings["StorageLocation"]))
                return @"~/app_data/";
            return System.Web.Configuration.WebConfigurationManager.AppSettings["StorageLocation"];
        }
    }
}
